package com.calvin.study.strategy.base.concrete;

import com.calvin.study.strategy.base.service.FoodService;
import com.calvin.study.strategy.strategy.AbstractStrategy;
import com.calvin.study.strategy.strategy.Strategy;

public class Food extends AbstractStrategy implements Strategy {

	private static final Food instance = new Food();
	
	private FoodService foodService = new FoodService();

	private Food() {
		register();
	}

	public static Food getInstance() {
		return instance;
	}

	@Override
	public void issue(Object... params) {
		foodService.payCoupon();
	}

}
